-- GENERATED SPELL FOR [Onslaught Destrier] --


function spell0_29710(pUnit, Event) --@Hoof Strike,n/a--
pUnit:FullCastSpellOnTarget(29577,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_29710', 584, 1)
end

function Sorts_29710(pUnit, Event)
local choix_sorts_29710 = math.random(0, 0)
if choix_sorts_29710 == 0 then
pUnit:RegisterEvent('spell0_29710', 1, 1)
end
end

function mob29710_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_29710', math.random(1500, 3000), 1)
end

function mob29710_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob29710_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob29710_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(29710, 1, 'mob29710_Action')
RegisterUnitEvent(29710, 2, 'mob29710_Leave')
RegisterUnitEvent(29710, 3, 'mob29710_Kill')
RegisterUnitEvent(29710, 4, 'mob29710_Die')
